package com.fjrz.bbxwj.main.mine.adapter

import android.widget.ImageView
import com.blankj.utilcode.util.ConvertUtils
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.fjrz.bbxwj.R
import com.fjrz.bbxwj.entity.VideoList
import com.module.lemlin.base.loadRoundImage

class UserVideoAdapter : BaseQuickAdapter<VideoList, BaseViewHolder>(R.layout.item_video_mine) {
    override fun convert(holder: BaseViewHolder, item: VideoList) {
        holder.getView<ImageView>(R.id.ivVideoListImage)
            .loadRoundImage(item.main_image, radius = ConvertUtils.dp2px(10f))
    }
}